package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 道具信息对象 props
 *
 * @author ruoyi
 * @date 2025-01-16
 */
public class Props extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 道具名 */
    @Excel(name = "道具名")
    private String name;

    /** 道具描述 */
    @Excel(name = "道具描述")
    private String descs;

    /** 道具图 */
    @Excel(name = "道具图")
    private String imageUrl;

    /** 最高等级 */
    @Excel(name = "最高等级")
    private Long maxLv;

    /** 钻石升级价格 */
    @Excel(name = "灵石升级价格")
    private Long diamondUpgradePrice;

    /** 道具类型 */
    @Excel(name = "道具类型")
    private String type;

    /** 基础持续时间 */
    @Excel(name = "基础持续时间")
    private Long duration;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setDescs(String descs)
    {
        this.descs = descs;
    }

    public String getDescs()
    {
        return descs;
    }
    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }
    public void setMaxLv(Long maxLv)
    {
        this.maxLv = maxLv;
    }

    public Long getMaxLv()
    {
        return maxLv;
    }
    public void setDiamondUpgradePrice(Long diamondUpgradePrice)
    {
        this.diamondUpgradePrice = diamondUpgradePrice;
    }

    public Long getDiamondUpgradePrice()
    {
        return diamondUpgradePrice;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setDuration(Long duration)
    {
        this.duration = duration;
    }

    public Long getDuration()
    {
        return duration;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("descs", getDescs())
                .append("imageUrl", getImageUrl())
                .append("maxLv", getMaxLv())
                .append("diamondUpgradePrice", getDiamondUpgradePrice())
                .append("type", getType())
                .append("duration", getDuration())
                .append("createTime", getCreateTime())
                .toString();
    }
}
